<script setup lang="ts">
// 生命周期
import {
  onBeforeMount,
  onBeforeUnmount,
  onBeforeUpdate,
  onMounted,
  onRenderTracked,
  onRenderTriggered,
  onUnmounted,
  onUpdated
} from "vue";

//创建前 读不到dom
onBeforeMount(() => {

})
// 创建时
onMounted(() => {

})
//更新前 获取更新前dom
onBeforeUpdate(() => {

})
//更新时
onUpdated(() => {

})
// 卸载前
onBeforeUnmount(() => {

})
// 卸载后
onUnmounted(() => {

})

onRenderTracked((e) => {

})
onRenderTriggered((e) => {

})

</script>

<template>

</template>

<style scoped>

</style>